Skip to content

Conversation

@frantuma
Copy link
Contributor

@webron

Fix for ignored swagger config via context attribute as reported by testuser1234 on IRC.

Before the fix, swagger configuration via context.setAttribute("swagger", swagger); in client Bootstrap servlet (or equivalent) would not be picked up by swagger

A workaround for unpatched code is configuring via new mechanism like:

new SwaggerContextService().withServletConfig(config).updateSwagger(swagger);

@frantuma frantuma added this to the v1.5.8 milestone Feb 29, 2016
frantuma added a commit that referenced this pull request Feb 29, 2016
fixes ignored swagger config via context attribute
@frantuma frantuma merged commit 74fa4be into swagger-api:master Feb 29, 2016
@frantuma frantuma deleted the hotfix-swagger-config branch February 29, 2016 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant